package com.ycsd.invest.order.business.dto;

import kd.bos.openapi.common.custom.annotation.ApiModel;
import kd.bos.openapi.common.custom.annotation.ApiParam;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * @Descrіption:
 * @Author: yn
 * @Date: 2025/6/23 16:08
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel
public class ExampleModelDto implements Serializable {

    private static final long serialVersionUID = -228754323048352174L;

    @ApiParam("parameter1")
    private String parameter1;

    @ApiParam("parameter2")
    private String parameter2;

    @ApiParam(value = "年龄",required = true,message = "年龄不能为空", groups = {Save.class})
    private String parameter3;

    @NotBlank(message = "用户名称不能为空", groups = {Save.class})
    @ApiParam("parameter4")
    private String parameter4;

    public interface Save {

    }
}

